#pragma once

#define HandleError(format, ...)					\
{													\
	printf("Error"##format##"\n", ## __VA_ARGS__);	\
	system("pause");								\
	exit(1);										\
}

#define HandleWarning(format, ...)						\
{														\
	printf("Warning:"##format##"\n", ## __VA_ARGS__);	\
}